home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / PROGNG_C / DBTOOLC.LZH / SOURCE.ARC / INTREGS.H < prev    next >
C/C++ Source or Header  |  1985-09-17  |  806b  |  23 lines

  1. /*  This file contains the structures used with the ESSENTIAL SOFTWARE, INC. */
  2. /*  C Utility Library.                                                       */
  3.  
  4. /*  The initreg structure is used with the general interrupt function    */
  5. /*  to pass the 8086/8088 registers to the assembler function and        */
  6. /*  initiate a specific interrupt or DOS function.                       */
  7.  
  8. struct intregs{
  9.     unsigned ds;    /* data segment register */
  10.     unsigned es;    /* extra segment */
  11.     unsigned si;    /* source index */
  12.     unsigned di;    /* destination index */
  13.     unsigned ah;    /* high byte of ax register */
  14.     unsigned al;    /* low byte of ax register */
  15.     unsigned bh;    /* set up other general registers as his and lows  */
  16.     unsigned bl;
  17.     unsigned ch;
  18.     unsigned cl;
  19.     unsigned dh;
  20.     unsigned dl;
  21. };
  22.  
  23.